package com.springboot.properties.controller;

import com.springboot.properties.entity.CustomerBeanEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Desc:
 * @Date: 2020-07-10
 * @Version:v1.0
 */
@RestController
public class CustomerPropertiesController {

    @Autowired
    private CustomerBeanEntity customerBeanEntity;

    @RequestMapping("/customer")
    public String getBean() {
        return customerBeanEntity.toString();
    }

}
